home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
501-525
/
disk_513
/
dkbtrace
/
dkb212sr.lzh
/
unix.mak
< prev
next >
Wrap
Makefile
|
1991-04-30
|
3KB
|
89 lines
# Makefile for DKB Ray Tracing Program by David Buck and Aaron Collins
# This file is released to the public domain.
#
#
# MAKE Macros and Such...
#
#***************************************************************
#*
#* UNIX Makefile
#*
#***************************************************************
# The exact options may depend on your compiler. Feel free to modify
# these as required.
OBJ = o
MACHINE_OBJ = unix.$(OBJ)
CFLAGS= -c -O
LFLAGS = -o dkbtrace -O
# Make's implicit rules for making a .o file from a .c file...
#
.c.o :
$(CC) $(CFLAGS) $*.c
DKBOBJS = trace.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) dump.$(OBJ) \
colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) targa.$(OBJ) \
quartics.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
dkbtrace: $(DKBOBJS)
cc $(LFLAGS) $(DKBOBJS) -lm
trace.$(OBJ) : trace.c dkbproto.h frame.h vector.h config.h
tokenize.$(OBJ) : tokenize.c dkbproto.h frame.h config.h
parse.$(OBJ) : parse.c dkbproto.h frame.h config.h
render.$(OBJ) : render.c dkbproto.h frame.h vector.h config.h
lighting.$(OBJ) : lighting.c dkbproto.h frame.h vector.h config.h
prioq.$(OBJ) : prioq.c dkbproto.h frame.h config.h
texture.$(OBJ) : texture.c dkbproto.h frame.h vector.h config.h
objects.$(OBJ) : objects.c dkbproto.h frame.h vector.h config.h
spheres.$(OBJ) : spheres.c dkbproto.h frame.h vector.h config.h
planes.$(OBJ) : planes.c dkbproto.h frame.h vector.h config.h
quartics.$(OBJ) : quartics.c dkbproto.h frame.h vector.h config.h
vect.$(OBJ) : vect.c dkbproto.h frame.h config.h
quadrics.$(OBJ) : quadrics.c dkbproto.h frame.h vector.h config.h
matrices.$(OBJ) : matrices.c dkbproto.h frame.h vector.h config.h
csg.$(OBJ) : csg.c dkbproto.h frame.h vector.h config.h
colour.$(OBJ) : colour.c dkbproto.h frame.h config.h
viewpnt.$(OBJ) : viewpnt.c dkbproto.h frame.h vector.h config.h
ray.$(OBJ) : ray.c dkbproto.h frame.h vector.h config.h
iff.$(OBJ) : iff.c dkbproto.h frame.h config.h
gif.$(OBJ) : gif.c dkbproto.h frame.h config.h
gifdecod.$(OBJ) : gifdecod.c dkbproto.h frame.h config.h
raw.$(OBJ) : raw.c dkbproto.h frame.h config.h
triangle.$(OBJ) : triangle.c dkbproto.h frame.h vector.h config.h
amiga.$(OBJ) : amiga.c dkbproto.h frame.h config.h
dump.$(OBJ) : dump.c dkbproto.h frame.h config.h